package TestDemo;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:
 * Date: 2024-05-29
 * Time: 18:37
 */
public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.name = "大黄";
        dog.eat();
        dog.bark();
        System.out.println("========");
        Cat cat = new Cat();
        cat.name = "大虎";
        cat.eat();
        cat.mimi();
    }
}
